package com.group.activity.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.group.common.utils.PageUtils;
import com.group.common.utils.Query;

import com.group.activity.dao.LiveListDao;
import com.group.activity.entity.LiveListEntity;
import com.group.activity.service.LiveListService;


@Service("liveListService")
public class LiveListServiceImpl extends ServiceImpl<LiveListDao, LiveListEntity> implements LiveListService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LiveListEntity> page = this.page(
                new Query<LiveListEntity>().getPage(params),
                new QueryWrapper<LiveListEntity>()
        );

        return new PageUtils(page);
    }

}